20.6 AT^SGIO Get IO state of a specified pin or port Syntax Test Command AT^SGIO=? Response(s) ^SGIO:(list of supported <io_id>s) OK Write Command AT^SGIO=<io_id> Response(s) ^SGIO: <value> OK ERROR +CME ERROR: <err> Reference(s) PIN ASC0 ASC1 USB MUX1 MUX2 MUX3 Charge Q Last SIEMENS - + + + + + + - + - Parameter Description <io_id>(num) This can be either an already configured <pin_id> or an already opened <port_id>. <value>(num) State read on this <io_id>. 0 Low for <pin_id> 1 High for <pin_id> 0...1023 For <port_id> Note • If one gets the state of a port whose width is less than 10 bits, the bits of <value> that are more significant than the MSB of the port are set to zero.